# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-stella2014
pkgver=0_git20200107
pkgrel=0
_commit="fc87f2c78d3b177f4b9b19698557dce452ac3ce7"
pkgdesc="port of Stella to libretro"
url="https://github.com/libretro/stella2014-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/stella2014-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/stella2014-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 stella2014_libretro.so "$pkgdir"/usr/lib/libretro/stella2014_libretro.so
}

sha512sums="79db6f86d901dbfa3a8ffa5ff7982ab2f5d3a2989a1e1952d93f979536efd172e972eab47c1d9048e8b0e0f7db5cf1bcd50617effe5fae58601ff9e30b8a03b4  libretro-stella2014-fc87f2c78d3b177f4b9b19698557dce452ac3ce7.tar.gz"
